package ${basePackage}<#if subPackage??>.${subPackage}</#if>;

import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hare.service.dto.result.ApiResultDto;

import java.util.List;

/**
* @author: GenUtil
* @date: ${dateTime}
*/
@Data
@Accessors(chain = true)
@ApiModel("${apiModel}")
public class ${className} extends ApiResultDto {

<#if fields??>
    <#list fields as field>
    @JsonProperty("${field.fieldName}")
    @ApiModelProperty(value = "${field.apiModelProperty}", example = "${field.exampleValue}")
    private <#if field.list>${field.classNameWithType}<#else>${field.className}</#if> ${field.fieldName};

    </#list>
</#if>
}
